package com.ziyun.pop.modules.orderRemarks.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ziyun.pop.modules.order.entity.OrderRemarksEntity;
import org.springframework.stereotype.Service;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.pop.modules.orderRemarks.dao.OrderRemarksDao;
import com.ziyun.pop.modules.orderRemarks.service.OrderRemarksService;


@Service("orderRemarksService")
public class OrderRemarksServiceImpl extends ServiceImpl<OrderRemarksDao, OrderRemarksEntity> implements OrderRemarksService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<OrderRemarksEntity> page = (Page<OrderRemarksEntity>) this.page(
                new Query<OrderRemarksEntity>(params).getPage(),
                new QueryWrapper<OrderRemarksEntity>()
        );

        return new PageUtils(page);
    }

}
